package com.lj.ljminsu.houseDetails.service.impl;

import com.lj.ljminsu.houseDetails.bean.UserInfo;
import com.lj.ljminsu.houseDetails.dao.UserOrderDao;
import com.lj.ljminsu.houseDetails.service.UserOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

//订单业务
@Service
public class UserOrderServiceImpl implements UserOrderService {
    @Resource
    private UserOrderDao userOrderDao;
    @Override
    public UserInfo queryUserInfoByUserIdAndHouseId(Integer userId, Integer houseId) {
        UserInfo userInfo = userOrderDao.queryUserInfoByUserIdAndHouseId(userId, houseId);
        return userInfo;
    }
}
